package com.example.sharding.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;

import java.beans.Transient;
import java.util.ArrayList;
import java.util.List;

/**
 * 部门
 * @author Leon
 * @version 2018/11/14 16:51
 */
@Data
@ToString
@Builder
@TableName("department")
public class Department extends Model<Department> {

     private Long id;
     private Long deptId;
     private Long corpId;
     private String createTime;
     private Integer isDelete;
     private String updateTime;
     private String code;
     private String deptArray;
     private Integer level;
     private String name;
     private Integer num;
     private String parentId;
     private String pathIds;
     private String pathNames;
     private String remark;
     private String contact;
     private String phone;
     private Integer assign;


}
